package ma.coursEnsao.designPatern.adapter;

public class Main {

	public static void main(String[] args) {
		Document docHtml = new DocumentHtml();
		docHtml.setContenu("un doc html");
		docHtml.dessine();
		docHtml.imprime();
		System.out.println("****************");
		Document docPdf = new DocumentPdf();
		docPdf.setContenu("un doc pdf");
		docPdf.dessine();
		docPdf.imprime();

	}

}
